<?php

declare (strict_types=1);

namespace app\store\controller\shop;

use think\response\Json;
use app\store\controller\Controller;
use app\store\model\store\shop\Order as OrderModel;

/**
 * 订单核销记录
 * Class Order
 * @package app\store\controller\shop
 */
class Order extends Controller
{
    /**
     * 订单核销记录列表
     * @return Json
     */
    public function list(): Json
    {
        // 核销记录列表
        $model = new OrderModel;
        $list = $model->getList($this->request->param());
        return $this->renderSuccess(compact('list'));
    }
}
